/*
 * @Description:
 * @Author: ldx
 * @Date: 2022-05-07 14:55:26
 * @LastEditors: ldx
 * @LastEditTime: 2022-05-18 10:33:15
 */
export interface Pagination {
  /** 每页条数 */
  pageSize: number
  /** 当前页码 */
  current: number
}
export type TParams<T> = [T & Pagination]

export interface List<T> {
  total: number
  list: T[]
}
export interface Result<T> {
  code: number
  data: T
  msg: string
  server_time: number
}
